package com.inspur.s57.datacatalog.dao;

import com.inspur.s57.datacatalog.entity.CataLog;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;

import java.util.List;

public interface CataLogDAO extends JpaRepository<CataLog,Integer> {

    List<CataLog> findCataLogsByType(String type);

    Page<CataLog> findCataLogsByClassNameLike(String className,Pageable pageable);
}
